home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2000 #5
/
Amiga Plus CD - 2000 - No. 5.iso
/
Tools
/
Misc
/
FLM
/
otherfiles
/
english
/
ARexx
/
finalc_look.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
2000-01-01
|
913b
|
30 lines
/* Script for sending a word from FinalCopy to FLM
You must only copy this file in your FinalCopy directory, and then
rename it as "AMacro_?".
For "?" you must indicate a number from 1 to 10.
Now it should be possible to call FLM either through the function key
(number you wrote in place of "?") or from the menu "ARexx".
Here I've customised FinalCopy 1. It's possible that something changed
in FinalCopy 2. In this case, simply look at your FinalCopy manual.
-> Warning: The program RexxMast must be active !!!
*/
/* Here indicate, please, the FLM path and program name */
initiation=run "dh0:FLM/FLM"
Options RESULTS
IF ~show('P','FLM') THEN DO
/* if FLM is not yet running */
ADDRESS COMMAND initiation
ADDRESS COMMAND "SYS:RexxC/WaitForPort FLM"
END
Extract /* Writes the highlighted text in Variable RESULT*/
Address FLM LOOKWORD RESULT /* Send contents of RESULT to FLM*/